package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Zan;

import java.util.List;

public interface ZanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Zan record);

    List<Zan> selectByPrimaryKey(Long id);

    Integer getZanNumByTravelId(Zan zan);

    List<Zan> getListByUserId(Zan zan);

    int getZanByCommentId(Zan zan);

}